<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	<script type="text/javascript">
		
		var shuiguo = ['苹果','鸭梨','水蜜桃','香蕉','西瓜','芒果','火龙果'];
//		遍历数组
		for (var i=0;i<shuoguo.length;i++) {
			document.write(shuiguo[i]+'很好吃<br />');
		}
		
		
	</script>
		
		
	</head>
	<body>
	</body>
</html>
